package com.oscar.ehome.model;

/**
 * author: MengWanhe
 * date: On 2017/6/6
 *
 */

public interface OnHttpListener<T> {

    /**
     * 逻辑成功
     * @param obj
     */

    public void onSuccess(T obj);

    /**
     * 逻辑失败
     * @param msg
     */
    public void onError(String msg);

    /**
     * 请求失败
     */
    public void onFailure();


}
